# -*- coding: utf-8 -*-
from django import forms

class ContactForm(forms.Form):
    subject = forms.CharField(max_length=100, label='标题')
    message = forms.CharField(widget=forms.Textarea, label='内容')
    sender = forms.EmailField(label='邮箱')
    cc_myself = forms.BooleanField(required=False,label='抄送给自己')
    #cc_myself = forms.NullBooleanField()